{* $Id: log_list.html 22424 2013-04-08 07:18:08Z weisd $ *}
<div class="historyBox history-box hidden">
  <ul class="history-list">
    {foreach $list as $k=>$v}
      {if $k == 10}<li><a href="javascript:;" class="more moreLog">点击查看更多...</a></li>{/if}
      <li data-id="{$v.id}" {if $k >= 10 && count($list) > 10}class="hidden"{/if}>
          <a target="_blank" href="{AnUrl("user/{$v.op_id}")}" class="history-photo"><img width='30' src="{user_helper::avatar($v.op_id)}" alt=""></a>
          <div class="history-con">
            <p class="clearfix">
              <a target="_blank" href="{AnUrl("user/{$v.op_id}")}" class="user-name2 left">{user_helper::display_name($v.op_id)}</a>
              {if $params['res_name'] == 'knowledge'}
                <span class="data left">{time_format($v.add_time)}</span>
                {*<a href="javascript:;" class="right">删除</a>*}<a href="javascript:;" class="right">恢复</a>
              {else}
                <span class="data right">{time_format($v.add_time)}</span>
              {/if}
            </p>
              <p>{if $params['log_type'] == 2}{$v['intro']['notification_intro']}{else}{$v['intro']['log_intro']}{/if}</p>
          </div>
      </li>
    {/foreach}
  </ul>
</div>